//列表数据
export const columns = [
    {
        title: '签约商户',
        align: "center",
        dataIndex: 'businessId_dictText'
    },
    {
        title: '服务公司',
        align: "center",
        dataIndex: 'companyId_dictText'
    },
    {
        title: '订单编号',
        align: "center",
        dataIndex: 'orderNo',
        customRender: ({ text }) => {
            return !text ? "-" : text;
        },
    },
    {
        title: '充值金额',
        align: "center",
        sorter: true,
        dataIndex: 'amount',
        customRender: ({ text }) => {
            return !text ? "0.00" : text.toFixed(2);
        },
    },
    {
        title: '服务费',
        align: "center",
        dataIndex: 'serviceFee',
        customRender: ({ text }) => {
            return !text ? "0.00" : text.toFixed(2);
        },
    },
    {
        title: '附属信息',
        align: "center",
        width: 280,
        dataIndex: 'paymentAccount',
        slots: { customRender: 'subsidiarySlot' },
    },
    {
        title: '备注',
        align: "center",
        dataIndex: 'remark',
        customRender: ({ text }) => {
            return !text ? "-" : text;
        },
    },
    {
        title: '充值状态',
        align: "center",
        dataIndex: 'status',
        slots: { customRender: 'statusSlot' },
    },
    {
        title: '充值时间',
        align: "center",
        sorter: true,
        dataIndex: 'receiptTime'
    },
];
